package com.atguigu.mybatis.entity;

/**
 * @author : zzf
 * @date : 2020/12/29
 */


public class Banana {
    private Integer bananaId;
    private String bananaName;
    private Monkey monkey;

    @Override
    public String toString() {
        return "Banana{" +
                "bananaId=" + bananaId +
                ", bananaName='" + bananaName + '\'' +
                '}';
    }

    public Integer getBananaId() {
        return bananaId;
    }

    public void setBananaId(Integer bananaId) {
        this.bananaId = bananaId;
    }

    public String getBananaName() {
        return bananaName;
    }

    public void setBananaName(String bananaName) {
        this.bananaName = bananaName;
    }

    public Monkey getMonkey() {
        return monkey;
    }

    public void setMonkey(Monkey monkey) {
        this.monkey = monkey;
    }

    public Banana(Integer bananaId, String bananaName, Monkey monkey) {
        this.bananaId = bananaId;
        this.bananaName = bananaName;
        this.monkey = monkey;
    }

    public Banana() {
    }
}
